<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>购物车 - 聚美优品</title>
		<link rel="stylesheet" type="text/css" href="http://127.0.0.1/jumeiphp/Application/Index/View/Public/css/cart.css"/>
	</head>
<body>
<div style="background: white;">
	
	<?php if(!$_SESSION['uid'] || !$_SESSION['uname']) : ?>
    <div class="cart_top">
        <div class="user_box" id="JS_user_box">
        	<div>
        		<a href="<?php echo U('Login/index');?>">请登录</a>
        		<i class="tips">|</i>
        		<a href="<?php echo U('Login/reg');?>">快速注册</a>
        		<i class="tips">|</i>
        		<a href="<?php echo U('Index/Index/index');?>">返回首页</a>

        	</div>
        </div>
    </div>
    
	<?php else: ?>
	
    <div class="cart_top">
        <div class="user_box" id="JS_user_box">
        	<div>欢迎 <a href="<?php echo U('My/dingdan');?>"><font color="red"><?php echo $_SESSION['uname'] ?></font> </a>回来
        		&nbsp;
        		<a href="<?php echo U('Login/out');?>" class="out">[退出登陆]</a>
        		<i class="tips">|</i>
        		<a href="<?php echo U('Index/My/dingdan');?>" class="query">订单查询</a>
        	</div>
        </div>
    </div>
	<?php endif ?>
    <div class="cart_header_box">
        <div class="cart_header clearfix">
            <h1 class="logo_box fl">
                <a href="<?php echo U('Index/index');?>" target="_blank" id="home">
                    <img src="http://127.0.0.1/jumeiphp/Application/Index/View/Public/images/cart_logo.jpg" alt="化妆品团购">
                </a>
            </h1>
            <div class="order_path order_path_1 fr">
            </div>
        </div>
    </div>
</div>
<div id="container">
	<div id="group_show">
		<div class="cart_empty" style="display: none;">
			<img src="http://127.0.0.1/jumeiphp/Application/Index/View/Public/images/empty_icon.jpg" alt="" class="cart_empty_logo fl" />
			<div class="cart_empty_right fl">
				<h2>您的购物车中没有商品，请先去挑选心爱的商品吧！</h2>
				<p class="cart_empty_backtip"> 您可以 <a class="btn" href="index.html">  返回首页  </a> 挑选喜欢的商品</p>
			</div>
		</div>
		<div class="content_header">
			<div class="cart_timer_wrapper fl">
				<i class="icon_small"></i>
				<span class="cart_timer_counting"> 请在 <span class="cart_timer_text">19分51秒</span> 内去结账，并在下单后 <span class="pink">20</span> 分钟内完成支付!</span>
			</div>
			<div class="top_banner">
				<ul class="header_icons"> 
					<li> 
						<span> <i class="icon_zhenpin header_icon png"></i> 真品防伪码 </span> 
					</li> 
					<li> 
						<span> <i class="icon_tuihuo header_icon png"></i> 30天无条件退货 </span>
					</li> 
					<li> 
						<span> <i class="icon_baoyou header_icon png"></i> 美妆满2件或299元包邮 </span> 
					</li> 
				</ul>
			</div>
			<div class="common_shippment">
				 <i class="icon_small icon_baoyou png">包邮</i> 聚美发货商品满2件或299元包邮,新用户首单全场满39元包邮 
			</div>
			<div class="groups_wrapper">
				<table class="cart_group_item">
					<thead> 
						<tr> 
							<th class="cart_overview"> 
								<div class="cart_group_header"> 
									<input class="js_group_selector cart_group_selector" checked="checked" type="checkbox"> 
									<h2>  聚美优品发货  </h2> 
								</div> 
							</th> 
							<th class="cart_price">聚美价（元）</th> 
							<th class="cart_num">数量</th> 
							<th class="cart_total">小计（元）</th>
							<th class="cart_option">操作</th> 
						</tr> 
					</thead>
					<tbody>
						<tr class="cart_item">
							<td valign="top">
								<div class="cart_item_desc clearfix fl">  
									<input class="js_item_selector cart_item_selector" checked="'checked'/" type="checkbox">  
									<div class="cart_item_desc_wrapper"> 
										<a class="cart_item_pic" href="" target="_blank"> 
											<img src="http://p1.jmstatic.com/product/000/579/579206_std/579206_60_60.jpg" alt="欧莱雅清润保湿3件套"> 
											<span class="sold_out_pic png"></span> 
										</a>  
										<a class="cart_item_link" title="
兰蔻精准臻白精华乳10ml" href="" target="_blank">
兰蔻精准臻白精华乳10ml</a> 
										<p class="sku_info">型号：<span class="cart_item_attribute">10ml</span>&nbsp;   
										</p> 
									</div> 
								</div>
							</td>
							<td>
								<div class="cart_item_price"> 
									<p class="jumei_price">69.00</p>  
									<p class="market_price">277.00</p>  
								</div>
							</td>
							<td>
								<div class="cart_item_num "> 
									<div class="item_quantity_editer clearfix" data-item-key="1069406_d150616p1491130zc"> 
										<span class="decrease_one disabled ">-</span> 
										<input class="item_quantity" value="1" type="text"> 
										<span class="increase_one ">+</span> 
									</div> 
									<div class="item_shortage_tip">   </div> 
								</div>
							</td>
							<td>
								<div class="cart_item_total"> 
									<p class="item_total_price">69.00</p>  
									<p>省 <span class="item_saved_price">208.00</span></p>  
								</div>
							</td>
							<td>
								<div class="cart_item_option"> 
									<a class="icon_small delete_item png" data-item-key="1069406_d150616p1491130zc" href="javascript:void(0)" title="删除"></a> 
								</div>
							</td>
						</tr>
						<tr class="cart_item">
							<td valign="top">
								<div class="cart_item_desc clearfix fl">  
									<input class="js_item_selector cart_item_selector" checked="'checked'/" type="checkbox">  
									<div class="cart_item_desc_wrapper"> 
										<a class="cart_item_pic" href="" target="_blank"> 
											<img src="http://p3.jmstatic.com/product/000/339/339353_std/339353_60_60.jpg" alt="欧莱雅清润保湿3件套"> 
											<span class="sold_out_pic png"></span> 
										</a>  
										<a class="cart_item_link" title="
兰蔻精准臻白精华乳10ml" href="" target="_blank">
兰蔻精准臻白精华乳10ml</a> 
										<p class="sku_info">型号：<span class="cart_item_attribute">10ml</span>&nbsp;   
										</p> 
									</div> 
								</div>
							</td>
							<td>
								<div class="cart_item_price"> 
									<p class="jumei_price">69.00</p>  
									<p class="market_price">277.00</p>  
								</div>
							</td>
							<td>
								<div class="cart_item_num "> 
									<div class="item_quantity_editer clearfix" data-item-key="1069406_d150616p1491130zc"> 
										<span class="decrease_one disabled ">-</span> 
										<input class="item_quantity" value="1" type="text"> 
										<span class="increase_one ">+</span> 
									</div> 
									<div class="item_shortage_tip">   </div> 
								</div>
							</td>
							<td>
								<div class="cart_item_total"> 
									<p class="item_total_price">69.00</p>  
									<p>省 <span class="item_saved_price">208.00</span></p>  
								</div>
							</td>
							<td>
								<div class="cart_item_option"> 
									<a class="icon_small delete_item png" data-item-key="1069406_d150616p1491130zc" href="javascript:void(0)" title="删除"></a> 
								</div>
							</td>
						</tr>
						<tr class="cart_item">
							<td valign="top">
								<div class="cart_item_desc clearfix fl">  
									<input class="js_item_selector cart_item_selector" checked="'checked'/" type="checkbox">  
									<div class="cart_item_desc_wrapper"> 
										<a class="cart_item_pic" href="" target="_blank"> 
											<img src="http://p2.jmstatic.com/product/000/807/807852_std/807852_60_60.jpg" alt="欧莱雅清润保湿3件套"> 
											<span class="sold_out_pic png"></span> 
										</a>  
										<a class="cart_item_link" title="
兰蔻精准臻白精华乳10ml" href="" target="_blank">
兰蔻精准臻白精华乳10ml</a> 
										<p class="sku_info">型号：<span class="cart_item_attribute">10ml</span>&nbsp;   
										</p> 
									</div> 
								</div>
							</td>
							<td>
								<div class="cart_item_price"> 
									<p class="jumei_price">69.00</p>  
									<p class="market_price">277.00</p>  
								</div>
							</td>
							<td>
								<div class="cart_item_num "> 
									<div class="item_quantity_editer clearfix" data-item-key="1069406_d150616p1491130zc"> 
										<span class="decrease_one disabled ">-</span> 
										<input class="item_quantity" value="1" type="text"> 
										<span class="increase_one ">+</span> 
									</div> 
									<div class="item_shortage_tip">   </div> 
								</div>
							</td>
							<td>
								<div class="cart_item_total"> 
									<p class="item_total_price">69.00</p>  
									<p>省 <span class="item_saved_price">208.00</span></p>  
								</div>
							</td>
							<td>
								<div class="cart_item_option"> 
									<a class="icon_small delete_item png" data-item-key="1069406_d150616p1491130zc" href="javascript:void(0)" title="删除"></a> 
								</div>
							</td>
						</tr>
					</tbody>
					<tfoot> 
						<tr> 
							<td colspan="5"> 商品金额： <span class="group_total_price">￥207.00</span> 
							</td> 
						</tr> 
					</tfoot>
				</table>
			</div>
			<div class="common_handler"> 
				<div class="right_handler fr"> 共 <span class="total_amount"> 3 </span> 
					&nbsp;件商品 &nbsp;&nbsp; 商品应付总额：<span class="total_price">￥207.00</span> 
					<a id="go_to_order" class="btn" href="javascript:;">去结算</a> 
				</div> 
				<label for="js_all_selector" class="cart_all_selector_wrapper"> 
					<input id="js_all_selector" class="js_all_selector all_selector" type="checkbox"> 全选 </label> 
					<a class="go_back_shopping" href="">继续购物</a> 
					<span class="seperate_line">|</span> 
					<a class="clear_cart_all" href="">清空选中商品</a> 
					<form id="form_to_order" action="" method="post" style="display: none;"> 
						<input name="items_key" type="hidden"> 
					</form> 
			</div>
			
		</div>
	</div>
</div>
<!--购物车底部-->
<div id="footer_container">
    <div id="footer_textarea">
        <div class="footer_con" id="footer_copyright">
            <p class="footer_copy_con">
                © 2013 北京创锐文化传媒有限公司 Jumei.com 保留一切权利。客服热线：400-123-8888 <br>
                京公网安备 11010102001226 | <a href="http://www.miibeian.gov.cn" target="_blank" rel="nofollow">京ICP证111033号</a> | 食品流通许可证 SP1101051110165515（1-1）
                | <a href="http://p2.jmstatic.com/activity/2013_chuangrui.jpeg" target="_blank">营业执照</a>
            </p>
            <p>
                <a href="javascript:void(0)" class="footer_copy_logo logo01"></a>
                <a href="https://www.itrust.org.cn/yz/pjwx.asp?wm=1693268180" target="_blank" class="footer_copy_logo logo02"></a>
                <a href="javascript:void(0)" class="footer_copy_logo logo03"></a>
                <a href="javascript:void(0)" class="footer_copy_logo logo04"></a>
                <a href="https://ss.cnnic.cn/verifyseal.dll?sn=e12070911010031011307708&amp;ct=df&amp;pa=453163" target="_blank" class="footer_copy_logo logo05"></a>
            </p>
            <script>function change_urlknet(eleId){var str= document.getElementById(eleId).href;var str1 =str.substring(0,(str.length-6));str1+=RndNum(6);document.getElementById(eleId).href=str1;}function RndNum(k){var rnd="";for (var i=0;i<k;i++){rnd+=Math.floor(Math.random()*10);}return rnd;}</script>
            <script type="text/javascript" charset="utf-8" src="http://s0.jmstatic.com/assets/js/Jumei.ClickMap.js?v=70"></script>
        </div>
    </div>
</div>
<!--购物车底部-->
</body>
</html>
